﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UClaimDemageControlUpdateFinalDetail.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.UserModel.UClaimDemageControlUpdateFinalDetail" %>
<div class="pageContent UClaimDemageControlUpdateFinalDetail">
	<form method="post" action="UserModel/UClaimDemageControlUpdateFinalDetail.aspx?ajaxmethod=add" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
		<div class="pageFormContent" layoutH="56">
                         
             <div class="hitdiv">
                <h2>提示:</h2>
                只有输入索赔单号的行才会保存.
             </div>  
            <div style="height:auto; overflow-x:scroll;overflow-y:hidden;width:920px; " >
            <asp:repeater id="rpFinailDetail4" runat="server" >
                <HeaderTemplate>  
                <table  class="mylist" width="1050">                        
                    <thead>                              
                        <tr > 
                            <th width="85px" >品情单号</th>     
                            <th width="85px" >索赔单号</th>  
                            <th width="85px">发票日期</th>
                            <th width="85px">发票号码</th> 
                            <th width="85px" align="center">是否到帐</th>                      
                            <th width="85px">人民币</th>
                            <th width="85px">美元金额</th>
                            <th width="85px">汇率</th>
                            <th width="85px">日元金额</th>
                            <th width="85px">汇率</th>
                            <th width="160px">索赔配件（折成金额）</th>
                            <th width="160px">翻新件入库金额RMB</th>
                        </tr>
                    </thead>
                    <tbody>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr class="mytr finaldetailitem " > 
                        <td>
                                <input name="ClaimsNumber"  type="text" class="autocomplete"  value="<%=ClaimsNumber %>" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=autocompletegetallclaimsnumber" swidth="200px" showinputid=""/>
                        </td>
                            <td>
                                <input name="SuoPeiNum"  type="text" class="autocomplete required"  value="<%# Eval("SuoPeiNum") %>" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=autocompletegetallsuopeinum" swidth="200px" showinputid=""/>
                        </td>
                        <td> 
                            <input name="ControlDetailID"  type="hidden" class=""  value="<%# Eval("ControlDetailID") %>" />
                            <input name="OnlyWork"  type="hidden" class=""  value="false" />
                               
                            <input name="FinalInvoiceDate"  type="text"  class="date"  value="<%# Eval("FinalInvoiceDate")==DBNull.Value?"":Convert.ToDateTime(Eval("FinalInvoiceDate")).ToShortDateString() %>"  />
                        </td>
                        <td >
                            <input name="FinalInvoiNo"  type="text" class=""  value="<%# Eval("FinalInvoiNo") %>"/>
                        </td>
                        <td >
                            <input name="FinalDueDate"  type="checkbox" class="" value="true" <%# Eval("FinalDueDate")==DBNull.Value?"":Convert.ToBoolean(Eval("FinalDueDate"))?"checked":""%> />
                        </td>
                        <td><input name="FinalInvoiRMB"  type="text" class="inputFloat" value="<%# Eval("FinalInvoiRMB") %>" /></td>
                        <td><input name="FinalInvoiUS"  type="text" class="inputFloat" value="<%# Eval("FinalInvoiUS") %>" /></td>
                        <td><input name="FinalInvoiUSRate"  type="text" class="inputFloat" value="<%# Eval("FinalInvoiUSRate") is DBNull?Eval("SupplerUSRate"):Eval("FinalInvoiUSRate") %>" /></td>
                        <td><input name="FinalInvoiJPY"  type="text" class="inputFloat" value="<%# Eval("FinalInvoiJPY") %>"/></td>
                        <td><input name="FinalInvoiJPYRate"  type="text" class="inputFloat" value="<%# Eval("FinalInvoiJPYRate") is DBNull?Eval("SupplerJPYRate"):Eval("FinalInvoiJPYRate") %>" /></td>
                        <td><input name="FinalPartCost"  type="text" class="inputFloat" value="<%# Eval("FinalPartCost") %>" /></td>
                        <td><input name="FinalPartFanXinCost"  type="text" class="inputFloat" value="<%# Eval("FinalPartFanXinCost") %>" /></td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                            
                    </tbody>
                </table>
            </FooterTemplate> 
            </asp:repeater>
            </div>
                


                   
		</div>
		<div class="formBar">
			<ul>
				 <% if (HasPower(IHISCETeim.Web.Permission.索赔管控_结算录入))
        {%>
				<li><div class="buttonActive"><div class="buttonContent"><button type="button" class="submit">保存</button></div></div></li>
                <%} %>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>

